package com.cwt.common.exception;

/**
 * @author chenwt
 * @version V1.0
 * @describe 【】
 * @date 2023年07月18日 14:28:02
 */
public class SubGameException extends RuntimeException {

    public static final String LoginError = "用户名或密码错误";

    public static final int LoginError_Code = -5;

    public int code;


    public int getCode() {
        return code;
    }

    public SubGameException(String message, int code) {
        super(message);
        this.code = code;
    }

    public SubGameException(String message, Throwable cause) {
        super(message, cause);
    }

    public SubGameException(Throwable cause) {
        super(cause);
    }

}
